package com.ruoyi.coupon.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 优惠券类型对象 tb_coupon_type
 * 
 * @author gzc
 * @date 2023-04-24
 */
public class TbCouponType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 优惠券类型编号 */
    private Long couponTypeId;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String couponTypeName;

    /** 优惠券信息 */
    private List<TbCoupon> tbCouponList;

    public void setCouponTypeId(Long couponTypeId) 
    {
        this.couponTypeId = couponTypeId;
    }

    public Long getCouponTypeId() 
    {
        return couponTypeId;
    }
    public void setCouponTypeName(String couponTypeName) 
    {
        this.couponTypeName = couponTypeName;
    }

    public String getCouponTypeName() 
    {
        return couponTypeName;
    }

    public List<TbCoupon> getTbCouponList()
    {
        return tbCouponList;
    }

    public void setTbCouponList(List<TbCoupon> tbCouponList)
    {
        this.tbCouponList = tbCouponList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("couponTypeId", getCouponTypeId())
            .append("couponTypeName", getCouponTypeName())
            .append("tbCouponList", getTbCouponList())
            .toString();
    }
}
